<!DOCTYPE html> 
<html class="ui-mobile-rendering"> 
	<head> 
	<title>About</title> 
	<meta name="viewport" content="width=device-width, initial-scale=1"> 

   <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="<?echo base_url('themes/jquery.mobile.structure-1.0.1.min.css');?>" />
        <link rel="stylesheet" href="<?echo base_url('themes/HelloWorld.min.css');?>" />
       
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
        <script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
        
        
        
          <link rel="stylesheet" href="http://dev.jtsage.com/cdn/datebox/1.0.1/jquery.mobile.datebox-1.0.1.css" /> 
 
  
  <script src="http://dev.jtsage.com/cdn/datebox/1.0.1/jquery.mobile.datebox-1.0.1.js"></script>

  <?php if (false) :?>
  <script src="<?echo base_url('themes/jquery.easing.1.3.js');?>"></script>
   <script src="<?echo base_url('themes/jquery.mobile.scrollview.js');?>"></script>
  <script src="<?echo base_url('themes/scrollview.js');?>"></script>
        <script src="<?echo base_url('themes/jquery.mobile.iscroll.js');?>"></script>
        <script src="http://cubiq.org/dropbox/iscroll/iscroll.js?v3.7.1"></script>
	
	<?php endif;?>
	</head> 
<body> 

<div data-role="page" >
	<div data-role="header"  data-position="fixed">		
		
		
		
		<?php if ($rows->userid==$this->session->userdata('userid')) :?>
	
		<a data-rel="back" data-role="button" data-icon="back" data-iconpos="left">Back</a>
			<h1>My Profile</h1>
		<a href="<?=site_url('hello_controller/to_create_hello');?>" data-role="button" class="ui-btn-right" data-icon="createhello" data-iconpos="right">New</a>
		
		<div data-role="navbar" data-iconpos="left" >
			<ul>
						<li><a data-theme="b"   href="<?echo site_url('feed_controller/index');?>" data-icon="gear"  data-transition="slidedown"><b>Feed</b></a></li>
			<li><a data-theme="b"   href="<?echo site_url('feed_controller/my_hello');?>" data-icon="info"  data-transition="slidedown"><b>My Hel</b></a></li>
			<li><a data-theme="b"   href="<?php echo site_url('friend_controller/view_my_friends');?>" data-icon="star" data-transition="slidedown" >Friend</a></li>
			
			<?php if ($id=="editProfile"):?>
			<li><a data-theme="b"  class="ui-btn-active ui-state-persist"  href="<?=site_url('user_controller/to_edit_profile');?>" data-icon="grid"  data-transition="slidedown"><b>Edit</b></a></li>	
			<?php else: ?>
			<li><a data-theme="b"  href="<?=site_url('user_controller/to_edit_profile');?>" data-icon="grid"  data-transition="slidedown"><b>Edit</b></a></li>	
			<?php endif; ?>
			</ul>
			
		</div>
		
		
		
		
		<?php else: ?>
			<h4><?=$rows->fullname?></h4>	
		
	
		<?php endif; ?>
		
	
	
	</div><!-- /navbar -->
	